﻿using System;

namespace Model
{
    /// <summary>
    /// Summary description for ModelVYC17 : Bang Admin
    /// </summary>
    public class ModelVYC17
    {
        public int Id { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public string PasswordHash { get; set; }
        public int IdPhanQuyen { get; set; }
        public string AnhDaiDien { get; set; }
        public string HoTen { get; set; }
        public DateTime NgayCapNhat { get; set; }
        public int TrangThai { get; set; }

        public ModelVYC17(int _id, string _username, string _password, string _passwordhash, int _idphanquyen,
                          string _anhdaidien, string _hoten, DateTime _ngaycapnhat, int _trangthai)
        {
            Id = _id;
            UserName = _username;
            Password = _password;
            PasswordHash = _passwordhash;
            IdPhanQuyen = _idphanquyen;
            AnhDaiDien = _anhdaidien;
            HoTen = _hoten;
            NgayCapNhat = _ngaycapnhat;
            TrangThai = _trangthai;
        }

        public ModelVYC17()
        {
            //
            // TODO: Add constructor logic here
            //
        }
    }
}